package org.inspiration.dudu.message.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MessageEntity {
    private Long messageId;
    private Long senderId;
    private Long receiverId;
    private String content;
    private String messageType;
    private LocalDateTime sendTime;
    private Boolean isRead;

}
